package com.lz.netty.consumer.project.netty;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelOutboundHandlerAdapter;
import io.netty.channel.ChannelPromise;
import lombok.extern.slf4j.Slf4j;

/**
 * 发送消息
 */
@Slf4j
public class MyClientOutHandler extends ChannelOutboundHandlerAdapter {

    /**
     * 重写发送消息
     */
    @Override
    public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {
        super.write(ctx, msg, promise);
    }

}
